import { useEffect } from 'react'
import { useParams,useSearchParams } from 'react-router-dom';

export default function Detail() {

  const [searchParams]=useSearchParams();
  const params = useParams<{ id: string }>();
  
  useEffect(() => {
    console.log(params,searchParams);
  }, [params,searchParams]);

  return (
    <div>1111111111111</div>
  )
}
